package com.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dao.BookMarkContactDao;
import com.pojo.BookMarkContact;
import com.pojo.Contact;

@Service
@Transactional
public class BookMarkContactService {

	@Autowired
	private BookMarkContactDao bookMarkContactDao;

	public void setBookMarkContactDao(BookMarkContactDao bookMarkContactDao) {
		this.bookMarkContactDao = bookMarkContactDao;
	}
	
	public List<BookMarkContact> getBookMarkContacts(Contact contact){
		return bookMarkContactDao.getBookMarkContacts(contact);
	}
}
